﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PageBar.ascx.cs" Inherits="BuXiaChu.OrderDishes.Web.Admin.Modules.PageBar" %>
<div>
    <% 
        //pb.IsForAjax = true;
        //pb.AjaxPageClickCallback = "alert('{index}-{size}-{count}')";
    %>
    <%= PbModel.RenderPageInfoHtml("{0}/{1}")%>
    <%= PbModel.RenderFirstPageHtml("<a href='{href}' {ajaxOnClickCallback}>第一页</a>")%>
    &nbsp;
    <%= PbModel.RenderPreviousPageHtml("<a href='{href}' {ajaxOnClickCallback}>上一页</a>")%>
    &nbsp;
    <%= PbModel.RenderContentPageHtml("<a href=\"{href}\" {ajaxOnClickCallback}>{text}</a>&nbsp;", "<lable>{text}</lable>&nbsp;")%>
    <%= PbModel.RenderNextPageHtml("<a href='{href}' {ajaxOnClickCallback}>下一页</a>")%>
    &nbsp;
    <%= PbModel.RenderLastPageHtml("<a href='{href}' {ajaxOnClickCallback}>最后一页</a>")%>
</div>